import request from '@/utils/request'

// 查询评价报告列表
export function listAssessmentresult(query) {
  return request({
    url: '/business/assessmentresult/list',
    method: 'get',
    params: query
  })
}

// 查询评价报告详细
export function getAssessmentresult(id) {
  return request({
    url: '/business/assessmentresult/' + id,
    method: 'get'
  })
}

// 新增评价报告
export function addAssessmentresult(data) {
  return request({
    url: '/business/assessmentresult',
    method: 'post',
    data: data
  })
}

// 修改评价报告
export function updateAssessmentresult(data) {
  return request({
    url: '/business/assessmentresult',
    method: 'put',
    data: data
  })
}

// 删除评价报告
export function delAssessmentresult(id) {
  return request({
    url: '/business/assessmentresult/' + id,
    method: 'delete'
  })
}
